// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.DifficultyPlanDao;
import com.liuxinlong.modules.entity.DifficultyPlan;
import com.liuxinlong.modules.mapper.DifficultyPlanMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年4月7日
 */
@Service
public class DifficultyPlanDaoImpl extends ServiceImpl<DifficultyPlanMapper, DifficultyPlan>
        implements DifficultyPlanDao {
    
    @Override
    public List<DifficultyPlan> pageDifficultyPlanList(Map<String, Object> queryParam) {
        return baseMapper.pageDifficultyPlanList(queryParam);
    }

    @Override
    public int getDifficultyPlanCount(Map<String, Object> queryParam) {
        return baseMapper.getDifficultyPlanCount(queryParam);
    }

    @Override
    public List<DifficultyPlan> getEffectiveDifficultyPlan() {
        return baseMapper.getEffectiveDifficultyPlan();
    }

    @Override
    public int getEffectiveDifficultyPlanCount() {
        return baseMapper.getEffectiveDifficultyPlanCount();
    }

}
